let arrParam = ['a','b','c'];
let setParam = new Set(['a','b','c']);
let mapParam = new Map([['a',1],['b',2],['c',3]]);
// let arrIterator = arrParam.keys();
// let setIterator = setParam.keys();
// let mapIterator = mapParam.keys();
// console.log(arrIterator.next());
// console.log(arrIterator.next());
// console.log(arrIterator.next());
// console.log(arrIterator.next());
// { value: 0, done: false }
// { value: 1, done: false }
// { value: 2, done: false }
// { value: undefined, done: true }

// console.log(setIterator.next());
// console.log(setIterator.next()); 
// console.log(setIterator.next());  
// console.log(setIterator.next());
// { value: 'a', done: false }
// { value: 'b', done: false }
// { value: 'c', done: false }
// { value: undefined, done: true }

// console.log(mapIterator.next());
// console.log(mapIterator.next()); 
// console.log(mapIterator.next());  
// console.log(mapIterator.next());
// { value: 'a', done: false }
// { value: 'b', done: false }
// { value: 'c', done: false }
// { value: undefined, done: true }

for(let value of arrParam){
    console.log(value);
}
// a
// b
// c
for(let value of setParam){
    console.log(value);
}
// a
// b
// c
for(let entry  of mapParam){
    console.log(entry);
}
// [ 'a', 1 ]
// [ 'b', 2 ]
// [ 'c', 3 ]

